//
//  RootModel.m
//  23-HomeWorkQQMusic
//
//  Created by dllo on 16/8/13.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "RootModel.h"
#import "Data.h"
@implementation RootModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        _data = [Data modelWithDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"default"]) {
        _rm_default = value;
    }
}


@end
